<div class="containertable">

<table class="box"><tr><th>{$smarty.const.LA_TELL_A_FRIEND}</th></tr><td>
<h2>{$smarty.const.LA_TELL_A_FRIEND}</h2>
{$smarty.const.LA_TELL_WELCOME}
        
{if $submit_ok}

	<blockquote>	
	{$smarty.const.LA_MESSAGE_SENT} {$ad_reciever}!
	</blockquote>	
{else}
    <form method="post" action="detail.php">
	<input type="hidden" name="id" value="{$id}">
	<input type="hidden" name="tellafriend" value="1">
	<input type="hidden" name="subject" value="{$smarty.const.SUBJECT_TELL_FRIEND}">
	
	{if $submit_fail} 
    	<br /><ul type="square" class="red">{$submit_fail}</ul>   
    {/if}
	
    <table><tr><td>
    
	<table border="0" width="100%" cellspacing="0" cellpadding="8">
	<tr>
	<td width="100%"> {$smarty.const.LA_RECIEVER}<br />
	
	<input type="text" name="rec_email" value="{$rec_email}" size="30">
	</td>
	</tr>
	<tr>
	<td width="100%">{$smarty.const.LA_SENDER}<br />
	
	<input type="text" name="sender_email" value="{$sender_email}" size="30">
	
	</td>
	</tr>
	

   
   
	{if $image_validation}
   <tr>
     <td> {$smarty.const.LA_IMG_VER}<br />
     <img src="val_img.php" /></td></tr>
    
     
    <tr>
     <td> {$smarty.const.LA_IMG_VER2}<br />
     <input type="text" class="txt" name="validate_sign" size="16" maxlength="16" /> *</td></tr>
   {/if}
   
   <tr><td><br /><input type="submit" value="{$smarty.const.LA_TELL_A_FRIEND}" name="submit" class="button"></td></tr>
   
   </table>
   </td>
   <td>
   {$smarty.const.LA_MESSAGE_COMMENT}<br />
	
	<textarea name="comments" cols="35" rows="12">{$comments}</textarea>
	</td></tr></table>
	
	</form>
    
    {/if}
</td></tr></table>

</div>